package com.newtype.meeting.client.model;

import java.io.Serializable;
import java.util.Date;

import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * 帐户信息实体类
 * @author 汪恭泽
 * Jun 2, 2011 10:56:36 AM
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true")
public class AccountDetails implements Serializable {
	private static final long serialVersionUID = -6358126982526474441L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@Extension(vendorName = "datanucleus", key = "gae.encoded-pk", value = "true")
	private String id;

	@Persistent(mappedBy = "details")
	private Account account;
	@Persistent
	private String gender;//性别
	@Persistent
	private Date birthday;//生日
	@Persistent
	private String officePhoneNO;//公司电话
	@Persistent
	private String officephoneEXT;//分机
	@Persistent
	private String pager;//呼叫器
	@Persistent
	private String homePhoneNO;//家用电话
	@Persistent
	private String emergencyContact;//紧急联络人
	@Persistent
	private String emergencyPhoneNO;//緊急聯絡電話
	@Persistent
	private String address;//通訊地址
	@Persistent
	private String personIMG;//個人照片
	@Persistent
	private String introduces;//個人介紹
	@Persistent
	private String signIMG;
	@Persistent
	private String workDuties;//工作职掌
	@Persistent
	private Integer workStartTime;
	@Persistent
	private Integer workEndTime;
	@Persistent
	private String notes;//备注
	@Persistent
	private String openTAG;//公開個人資料
	@Persistent
	private Date onlineDATE;//入职日期
	@Persistent
	private String byWorkDeptID;//兼职部門
	@Persistent
	private Integer accessErrorCount;
	@Persistent
	private Date modifyDate;//修改時間
	@Persistent
	private Date registerDate;//註冊時間
	@Persistent
	private Date submitDate;//开通時間

	public AccountDetails() {
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getOfficePhoneNO() {
		return officePhoneNO;
	}

	public void setOfficePhoneNO(String officePhoneNO) {
		this.officePhoneNO = officePhoneNO;
	}

	public String getOfficephoneEXT() {
		return officephoneEXT;
	}

	public void setOfficephoneEXT(String officephoneEXT) {
		this.officephoneEXT = officephoneEXT;
	}

	public String getPager() {
		return pager;
	}

	public void setPager(String pager) {
		this.pager = pager;
	}

	public String getHomePhoneNO() {
		return homePhoneNO;
	}

	public void setHomePhoneNO(String homePhoneNO) {
		this.homePhoneNO = homePhoneNO;
	}

	public String getEmergencyContact() {
		return emergencyContact;
	}

	public void setEmergencyContact(String emergencyContact) {
		this.emergencyContact = emergencyContact;
	}

	public String getEmergencyPhoneNO() {
		return emergencyPhoneNO;
	}

	public void setEmergencyPhoneNO(String emergencyPhoneNO) {
		this.emergencyPhoneNO = emergencyPhoneNO;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPersonIMG() {
		return personIMG;
	}

	public void setPersonIMG(String personIMG) {
		this.personIMG = personIMG;
	}

	public String getIntroduces() {
		return introduces;
	}

	public void setIntroduces(String introduces) {
		this.introduces = introduces;
	}

	public String getSignIMG() {
		return signIMG;
	}

	public void setSignIMG(String signIMG) {
		this.signIMG = signIMG;
	}

	public String getWorkDuties() {
		return workDuties;
	}

	public void setWorkDuties(String workDuties) {
		this.workDuties = workDuties;
	}

	public Integer getWorkStartTime() {
		return workStartTime;
	}

	public void setWorkStartTime(Integer workStartTime) {
		this.workStartTime = workStartTime;
	}

	public Integer getWorkEndTime() {
		return workEndTime;
	}

	public void setWorkEndTime(Integer workEndTime) {
		this.workEndTime = workEndTime;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getOpenTAG() {
		return openTAG;
	}

	public void setOpenTAG(String openTAG) {
		this.openTAG = openTAG;
	}

	public Date getOnlineDATE() {
		return onlineDATE;
	}

	public void setOnlineDATE(Date onlineDATE) {
		this.onlineDATE = onlineDATE;
	}

	public String getByWorkDeptID() {
		return byWorkDeptID;
	}

	public void setByWorkDeptID(String byWorkDeptID) {
		this.byWorkDeptID = byWorkDeptID;
	}

	public Integer getAccessErrorCount() {
		return accessErrorCount;
	}

	public void setAccessErrorCount(Integer accessErrorCount) {
		this.accessErrorCount = accessErrorCount;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	public String getId() {
		return id;
	}

}